<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>后台管理系统</title>
    <link rel="icon" href="/img/logo.png" type="image/x-icon"/>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <script src="/script/jquery-3.3.1.min.js"></script>
    <script src="/script/wangEditor.js"></script>
    <script src="/layui/layui.js"></script>
    <script src="/script/admin/project/process_add.js"></script>
</head>
<body>
    <form class="layui-form" id="form" action="/admin/project/free_project_save">
        <div class="layui-form-item">
            <label class="layui-form-label">标题:</label>
            <div class="layui-input-block layui-col-md5">
                <input type="text" name="title" lay-verify="required" id="title" autocomplete="off"  placeholder="请输入标题" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">类型:</label>
            <div class="layui-input-block layui-col-md5" id="types">
                <input type="radio" name="projectType" value="2" title="">
                <input type="radio" name="projectType" value="3" title="女" checked>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">标签:</label>
            <div class="layui-input-block layui-col-md5" id="labels">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">关键字</label>
            <div class="layui-input-block layui-col-md5">
                <input type="text" name="keyword" lay-verify="required" id="keyword" autocomplete="off"  placeholder="请输入关键字"  class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">是否首页展示</label>
            <div class="layui-input-block layui-col-md5">
                <input type="radio" name="isHomePage" value="1" title="是" checked="">
                <input type="radio" name="isHomePage" value="0" title="否">
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label">首页轮播:</label>
            <div class="layui-input-block layui-col-md5">
                <select name="type"  id="commented" >
                    <option value="0" >否</option>
                    <option value="1" >是</option>
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">上传封面:</label>
            <div class="layui-input-block layui-col-md5">
                <button type="button" class="layui-btn" id="update_cover_btn">上传图片</button>
                <input type="hidden" id="cover_img" name="cover" lay-verify="cover" value="">
                <div class="layui-upload-list">
                    <img class="layui-upload-img" id="demo1">
                    <p id="demoText"></p>
                </div>
            </div>
        </div>

        <div class="layui-col-md12" lay-verify="content" id="addEdit" name="content"></div>

        <div class="layui-form-item layui-col-md-offset1" style="margin-bottom: 25px;">
            <div class="layui-btn" id="submit" lay-filter="form" lay-submit>提交</div>
        </div>


    </form>
</body>
</html>